﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// NewsInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class NewsInfo
	{
		public NewsInfo()
		{}
		#region Model
		private int _newsid;
		private string _newstitle;
		private string _newscontent;
		private string _newsauthor;
		private DateTime? _newscreatetime= DateTime.Now;
		/// <summary>
		/// 
		/// </summary>
		public int NewsId
		{
			set{ _newsid=value;}
			get{return _newsid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string NewsTitle
		{
			set{ _newstitle=value;}
			get{return _newstitle;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string NewsContent
		{
			set{ _newscontent=value;}
			get{return _newscontent;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string NewsAuthor
		{
			set{ _newsauthor=value;}
			get{return _newsauthor;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? NewsCreateTime
		{
			set{ _newscreatetime=value;}
			get{return _newscreatetime;}
		}
		#endregion Model

	}
}

